package com.hdax.dm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hdax.dm.entity.item.Item;
import com.hdax.dm.entity.item.ItemComment;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface ItemCommentService extends IService<ItemComment> {

    //商品详情页评价
    List<ItemComment> getComments(Long id);

    //添加评价
    boolean addComments(@RequestBody ItemComment itemComme);

}
